﻿using System;
using System.Data;

namespace EbmtDAL
{
    public class RecordSelectionMem : IEquatable<RecordSelectionMem>
    {
        private String rSelId;

        public RecordSelectionMem(String recordSelectionId, DataRow[] resultingDataRows)
        {
            rSelId = recordSelectionId;
            ResultingRows = resultingDataRows;
        }

        #region IEquatable<RecordSelectionMem> Membres

        public bool Equals(RecordSelectionMem other)
        {
            return other.rSelId == rSelId;
        }

        #endregion

        public String RecordSelectionId
        {
            get { return rSelId; }
            set { rSelId = value; }
        }

        public DataRow[] ResultingRows { get; set; }
    }
}
